package tt.com.carmanager.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import tt.com.carmanager.vo.TeamTimeVo;
import tt.com.common.model.DriveTask;

import java.util.List;

public interface DriveTaskMapper extends BaseMapper<DriveTask> {
    List<DriveTask> showTaskForDriver(String DriveTaskId);

    /**
     * 查询班组在时间段内的接运任务
     * @param teamTimeVo
     * @return 任务id
     */
    List<DriveTask> searchIdByTeamIdAndDate(@Param("teamTimeVo") TeamTimeVo teamTimeVo);
}
